/**
 * Created by xiaom on 2016/11/6.
 */
import React, {Component} from 'react';
import {Card, CardActions, CardHeader, CardMedia, CardTitle, CardText} from 'material-ui/Card';
import {RadioButton, RadioButtonGroup} from 'material-ui/RadioButton';
import ActionFavorite from 'material-ui/svg-icons/action/favorite';
import ActionFavoriteBorder from 'material-ui/svg-icons/action/favorite-border';
import RaisedButton from 'material-ui/RaisedButton';
import {
  Header,
  shouldUpdate,
  Wrapper,
  Cell,
  CellBd,
  CellHd,
  CellFt,
  CellsTitle,
  Cells
} from '../../components/index';
import {
  Step,
  Stepper,
  StepLabel,
  StepContent,
} from 'material-ui/Stepper';
import {Link} from 'react-router';


const styles = {
  radioButton: {
    marginBottom: 16,
  },
  radioButtonGroup: {
    margin: 15
  }
};

export default class Comment extends Component {


  constructor(props) {
    super(props);
    this.state = {
      expanded: false,
    };
  }

  render() {
    return (
      <div>
        <Header title="评论"/>

        <form>

          <CellsTitle>评价</CellsTitle>
          <Cells>
            <RadioButtonGroup name="score" defaultSelected="1" style={styles.radioButtonGroup}>
              <RadioButton
                value="0"
                label="好评"
                style={styles.radioButton}
              />
              <RadioButton
                value="1"
                label="中评"
                style={styles.radioButton}
              />
              <RadioButton
                value="2"
                label="差评"
                style={styles.radioButton}
              />
            </RadioButtonGroup>
          </Cells>

          <CellsTitle>评论</CellsTitle>
          <Cells>
            <div className="weui-cell">
              <div className="weui-cell__bd">
                <textarea className="weui-textarea" name="content" placeholder="请输入你对本次维护的评价……" rows="5"></textarea>
              </div>
            </div>
          </Cells>

          <div className="weui-btn-area">
            <button className="weui-btn weui-btn_primary" type="submit">提交</button>
          </div>

        </form>
      </div>
    );
  }
}
